package com.ylz.sjzx.sio.test;

import com.ylz.sjzx.sio.common.mid.cache.redis.JedisTemplate;
import org.junit.jupiter.api.Test;

/**
 * @author wiqi
 * @version 1.0
 * @date 2020/12/10
 */
//@SpringBootTest
public class Other {
    @Test
    public void test() {
/*        CheckloginResp build = null;

        build =
            CheckloginResp.builder().target("aa").deny(true).user(LiveJoinDetail.builder().userId("1").build()).build();

        Optional.ofNullable(build).map(CheckloginResp::getDeny).ifPresent(item -> {
            System.out.println(2);
        });
        System.out.println(1);*/

        String a = "a";

        String b = a;
        b = "1";
        System.out.println(b);

        JedisTemplate.me().incr("loseCount", 1);

        JedisTemplate.me().incr("loseCount", 2);

    }
}
